﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SD.Entities;

namespace SD.IBUS
{
    public interface IContactBIZ
    {
        DataTable ListContact(Boolean includeInactive);

        DataTable ListAllContact();

        DataTable ListActiveContact();

        DataTable ListContactByCodition(string firstname, string surname);

        List<Contact> GetAll(Boolean includeInactive);

        List<Contact> GetAllContact();

        List<Contact> GetActiveContact();

        List<Contact> GetContactByCodition(string firstname, string surname);

        Contact GetById(string contactId);

        bool Insert(Contact contact);

        bool Update(Contact contact);

        bool Delete(string contactId);
    }
}
